﻿@using Orchard.UI.Notify
@{
    var type = "";

    switch ((NotifyType)Model.Type) 
    {
        case NotifyType.Information:
            type = "alert-success";
            break;
        case NotifyType.Error:
            type = "alert-error";
            break;
        case NotifyType.Warning:
            type = "alert-info";
            break;
    }

}
<div class="alert @type fade in out" data-alert="alert">
    <a class="close" data-dismiss="alert">&times;</a>
    <p>
        @Model.Message
    </p>
</div>
